package com.study.common.ztree;

import java.util.List;

public class TreeCheckBoxEntity {
	private String id;
	private String name;
	private String pro;//父节点id
	/** 显示的节点文本 **/
	private String text;
	/** 是否是关闭状态 **/
	private String state;
	/** 子 **/
	private List<Object> children;
	// 是否被选中
	private String checked;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPro() {
		return pro;
	}

	public void setPro(String pro) {
		this.pro = pro;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public List<Object> getChildren() {
		return children;
	}

	public void setChildren(List<Object> children) {
		this.children = children;
	}

	public String getChecked() {
		return checked;
	}

	public void setChecked(String checked) {
		this.checked = checked;
	}

	/**
	 * 
	 */
	public TreeCheckBoxEntity() {
	}

	public TreeCheckBoxEntity(String id, String name, String pro, String checked) {
		this.id = id;
		this.name = name;
		this.pro = pro;
		this.checked = checked;
	}

	@Override
	public String toString() {
		return "TreeCheckBoxEntity [id=" + id + ", name=" + name + ", pro=" + pro + ", text=" + text + ", state="
				+ state + ", children=" + children + ", checked=" + checked + "]";
	}

}
